package com.zhang.aloneway_springboot.service;

import com.zhang.aloneway_springboot.pojo.Book;

import java.util.List;

public interface BookService {

    List<Book> doList();

    void addOrUpdate(Book book);

    void deleteBook(Integer id);

    List<Book> listByCategory(Integer cid);

}
